/**
 * Created by Administrator on 2017/7/13.
 */
angular.module("module.template",[])
.config(["$stateProvider",function ($stateProvider) {
    $stateProvider
        .state("home",{
            url:"/home",
            "abstract":true,
            templateUrl:"view/template.html",
            controller:"template_controller"
        })
}])
.controller("template_controller",["$scope",function ($scope) {
    console.log("模板控制器启动成功");
    $scope.title="活动页面"
}]);